//
//  LHMenuViewController.h
//  EPA
//
//  Created by 卢浩 on 16/4/15.
//  Copyright © 2016年 卢浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MenuClickDelegate <NSObject>

- (void)didClickMenuIndex:(NSInteger)index Title:(NSString *)title;

@end

@interface LHMenuViewController : UIViewController

// 左侧菜单controller
@property (nonatomic, strong) UIViewController *leftViewController;

// 中间的视图controller
@property (nonatomic, strong) UIViewController *centerViewController;

// 当前菜单的状态
@property (nonatomic, assign, readonly) BOOL isShowing;

// 菜单中的菜单项
@property (nonatomic, strong) NSMutableArray *menuArray;

// 点击接收数据的代理
@property (nonatomic, weak) id<MenuClickDelegate> menuDelegate;

// 第三方初始化方法
+ (instancetype)instanceWithLeftViewController:(UIViewController *)leftVC CenterViewController:(UIViewController *)centerVC;

// 获取抽屉方法
+ (instancetype)getMenuViewController;

// 展示左侧菜单
- (void)showLeftViewController;

// 关闭左侧菜单
- (void)hideLeftViewController;

- (void)setMusicViewWithTitle:(NSString *)title Desc:(NSString *)desc Img:(NSString *)imgStr;

- (void)setUserViewWithName:(NSString *)name Img:(NSString *)imgStr;

- (void)showLoginVC;

//添加手势
- (void)addPanGesture;

//删除手势
- (void)removePanGesture;

//imageView旋转360度不停
+ (UIImageView *)rotate360DegreeWithImageView:(UIImageView *)imageView;

@end



